package com.example.u10.prac19;

class Main {
    public static void main(String[] args) {
        OuterA outerA = new OuterA();
        outerA.needInterfaceA(new OuterA.InterfaceA() {
            @Override
            public void print() {
                System.out.println("覆盖print方法完毕");
            }
        });
    }
}
